<?php
try{
	include '../ini.php';
    include '../classes/xl_contact.php';
    $dt_xl_contact=new xl_contact;
    $read_contact=$dt_xl_contact->read();
    $dt_smarty->assign('read_contact',$read_contact);
	$contenForLayout=$dt_smarty->fetch('contact/contact_info.tpl');
	$dt_smarty->assign('contenForLayout',$contenForLayout);
	$dt_smarty->assign('titleForLayout','Thông tin liên hệ');
	$dt_smarty->display('layout/defaults.tpl');
    $dbh=NULL;
	
} catch(Exception $e){
	$_SESSION['msg']=$e->getMessage();
	$dbh=NULL;
}